<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- <script type="text/javascript" async="" src="login_files/mv.js"></script>
<script type="text/javascript" async="" src="login_files/mba.js"></script>
<script type="text/javascript" async="" src="login_files/fm.js"></script>
<script src="login_files/push.js"></script>
<script type="text/javascript" async="" src="login_files/fx.js"></script>
<script type="text/javascript" async="" src="login_files/mvl.js"></script>
<script src="login_files/hm.js"></script>
<script async="" src="login_files/analytics.js"></script>
<script type="text/javascript" src="login_files/bdctrace-pc.js"></script> -->

<head>
	<!-- <script id="_1614515089813_764" src="login_files/detect.json"></script> -->
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
	<title>驴妈妈登录</title>
	<link rel="stylesheet" href="login_files/index.css">
	<link rel="stylesheet" href="login_files/login.css">
	<link rel="stylesheet" href="login_files/l_login.css">
	<!-- <link rel="shortcut icon" href="https://login.lvmama.com/nsso/favicon.ico" type="image/x-icon"> -->
	<!-- <link rel="icon" href="https://login.lvmama.com/nsso/favicon.ico" type="image/x-icon"> -->
	<style type="text/css">
		.app_right {
			background: none;
		}
	</style>
	<script language="javascript" type="text/javascript" src="login_files/52710000.js"></script>
	<!-- <script src="login_files/ex.json"></script> -->
	<link rel="stylesheet" href="login_files/jquery.css">
	<!-- <script charset="UTF-8" async="" src="login_files/gettype_002.php"></script> -->
	<!-- <script charset="UTF-8" async="" src="login_files/gettype.php"></script> -->
	<script charset="UTF-8" async="" crossorigin="anonymous" src="login_files/geetest.js"></script>
	<!-- <script charset="UTF-8" src="login_files/get_002.php"></script> -->
	<!-- <script charset="UTF-8" src="login_files/get.php"></script> -->
	<link rel="stylesheet" href="login_files/style_https.css">
</head>

<body>
	<!-- <script src="login_files/eluminate.js"></script> -->
	<script src="login_files/coremetrics-initalize.js"></script>
	<script>_LVMAMA_COREMETRICS.init(document.domain);</script>
	<script src="./js/vue/vue.js"></script>
	<script src="./js/axios.min.js"></script>
	<script src="./js/common.js"></script>
	<!-- 头部-->
	<div class="login_top">
		<h1 class="lv_logo"><a href="http://www.lvmama.com/">驴妈妈旅游网</a></h1>
		<h2 class="lv_logo_keywords">登录中心</h2>
		<span class="login_hotline">1010-6060</span>
	</div>
	<!-- 头部结束-->

	<!-- 主体-->
	<div  class="login-wrap" style="overflow: visible;">
		<div class="login-box clearfix">
			<div id="app" class="user-box">
				<ul class="tab clearfix">
					<li class="left active">普通登录</li>
					<li class="right">手机动态密码登录</li>
				</ul>
				<!-- 普通登录-->
				<div class="content" style="display:block">
					<ul class="ipt-box clearfix">
						<!-- <form method="" id="" name="login_form" action=""> -->
						<!-- <input type="hidden" name="token" value="OD50RCANTPD9LZKYLHZ4EPME3AIG07V"> -->

						<li>
							<input type="text" class="user-ipt" name="username" id="usernameOrNum"
								v-model="userDto.account">
							<p id="userNameTips" class="name">邮箱/手机号/用户名</p>
							<!-- 报错-->
							<div class="validateErrorTip" id="userNameOrPwdDiv">
								<div class="validate-error-arrowR"><em>◆</em><i>◆</i></div>
								<div class="validateContent" id="userNameOrPwd">请输入邮箱/手机号/用户名/会员卡</div>
							</div>
							<!-- 报错结束-->
							<label style=color:red>{{accountAlert}}</label>

						</li>
						<li class="pswd">
							<input type="password" value="" class="user-ipt" name="password" id="passwordNum"
								v-model="userDto.password">
							<p id="passwdTips" class="passwd">请输入密码</p>
							<!-- 报错-->
							<div class="validateErrorTip">
								<div class="validate-error-arrowR"><em>◆</em><i>◆</i></div>
								<div class="validateContent">请输入密码</div>
							</div>
							<!-- 报错结束-->
							<label style=color:red>{{passwordAlert}}</label>
						</li>

						<!-- <li id="_captcha" style="display: none;">
							<a class="fr" ><img id="image" src="login_files/login_web.jpg"  width="104" height="40"></a>
                        
							<span>
								<input name="verifycode" id="verifycode" class="user-ipt width">
								<p class="dynamic">请填写计算结果或验证码</p>
								报错
							<div class="validateErrorTip " id="errorCodeDiv">
								<div class="validate-error-arrowR"><em>◆</em><i>◆</i></div>
								<div class="validateContent" id="errorCode">请输入验证码或计算结果</div>
							</div>
							报错结束
							</span>
						 </li> -->
						<li class="forget_pw clearfix"><span class="check-box fl"><input name="remPassWord"
									type="checkbox" class="check" value="11">记住密码30天</span><a
								href="https://login.lvmama.com/nsso/findpass/index.do" class="link fr">忘记密码？</a></li>
						<li>
							<button class="loing-btn" @click="login()">登 录</button>
						</li>
						<input type="hidden" name="lt" value="null">
						<input type="hidden" name="service" id="serviceUrl"
							value="http://www.lvmama.com/legoFront/?lego=＆templateId=455">
						<!-- 滑动验证 -->
						<!-- <li id="_normalGeetestCaptcha" style="display: none;">
							
							<p id="normal-embed-captcha-wait" class="hide">正在加载验证码......</p>
						</li>
						<input type="hidden" id="normal_geetest_challenge" name="normal_geetest_challenge" value="">
						<input type="hidden" id="normal_geetest_validate" name="normal_geetest_validate" value="">
						<input type="hidden" id="normal_geetest_seccode" name="normal_geetest_seccode" value="">
						<input type="hidden" id="securityCode" name="securityCode" value=""> -->
						<!-- </form> -->
					</ul>
					<p class="lv-member">还不是驴妈妈会员？<a href="register.html" class="link">免费注册</a></p>
					<!-- 合作网站账号登录-->
					<!-- <div class="account-box">
					<h4><span>合作网站账号登录</span></h4>
					<div class="icon clearfix">
						<a href="javascript:void(0)" onclick="union_login('/nsso/cooperation/tencentQQUnionLogin.do')" class="qq" title="QQ"></a>
						<a href="javascript:void(0)" onclick="union_login('/nsso/cooperation/tencentWeiXinUnionLogin.do')" class="weix" title="微信"></a>
						<a href="javascript:void(0)" onclick="union_login('/nsso/cooperation/sinaUnionLogin.do')" class="sina" title="新浪微博"></a>
						<a href="javascript:void(0)" onclick="union_login('/nsso/cooperation/alipayUnionLogin.do')" class="alpay" title="支付宝"></a>
					</div>
					
				</div> -->
					<!-- 合作网站账号登录结束-->
				</div>
				<!-- 普通登录结束-->
				<!-- 手机验证登录-->
				<div class="content">
					<ul class="ipt-box clearfix">
						<!-- <form id="" action="" method="" name="mobileLogin_form"> -->
						<li>
							<input type="text" class="user-ipt" v-model="userDto.account" name="mobile"
								id="mobileLoginText"
								onblur="mobileRegisterOnBlur('mobileLoginText','mobileLoinTextSuccessTip')">
							<p class="name">手机号</p>
							<!-- 报错-->
							<div class="validateErrorTip" id="moblieErrorDiv">
								<div class="validate-error-arrowR"><em>◆</em><i>◆</i></div>
								<div class="validateContent" id="moblieError">请输入手机号</div>
							</div>
							<!-- 报错结束-->
							<label style=color:red></label>{{phoneAlert}}</label>
						</li>
						<li>
							<input type="text" class="user-ipt width" id="" style="margin: left -4px;"
								v-model="userDto.pigCode" name="verifycode" placeholder="请输入验证码">
							<img id="image" :src="pigCode" width="128" height="40">
							<a class="link_blue mar10" @click.prevent="refreshCheckCode()">换一张</a>
							<label style=color:red>{{pigCodeAlert}}</label>
						</li>

						<!-- <li id="_mobileCaptcha" style="display: none;">

							<a class="fr"><img :src="pigCode" @click.prevent="refreshCheckCode()" width="104"
									height="40"></a>
							<span>
								<input name="verifycode" class="user-ipt width" id="mobileVerifyCode" v-model="code">
								<p class="dynamic">请填写计算结果或验证码</p>
								报错
								<div class="validateErrorTip " id="errorMobileCodeDiv">
									<div class="validate-error-arrowR"><em>◆</em><i>◆</i></div>
									<div class="validateContent" id="errorMobileCode">请输入验证码或计算结果</div>
								</div>
								报错结束
							</span>
							报错结束
						</li> -->
						<li class="clearfix">
							<span class="fl">
								<input type="text" id="mobileCode" class="user-ipt width" name="authenticationCode"
									v-model="userDto.msgCode">
								<p class="dynamic">请输入动态密码</p>
								<!-- 报错-->
								<div class="validateErrorTip" id="dynaPWdDiv">
									<div class="validate-error-arrowR"><em>◆</em><i>◆</i></div>
									<div class="validateContent" id="dynaPWd">请输入动态密码</div>
								</div>
								<!-- 报错结束-->
							</span>
							<label style=color:red>{{msgCodeAlert}}</label>
							<button class="code fr" style="background-color: lightgray;" :disabled="buttondisable"
								@click.prevent="sendCode()">获取动态密码</button><a class="time fr"><em
									id="countdown">60</em>秒后重发</a>

						</li>

						<!-- <input type="hidden" name="lt" value="null">
						<input type="hidden" name="service"
							value="http://www.lvmama.com/legoFront/?lego=＆templateId=455"> -->
						<li class="last"><button class="loing-btn" @click.prevent="codeLogin()">登 录</button>
						</li>
						<!-- 滑动验证
						<li id="_mobileGeetestCaptcha" style="display: none;">
							
							<p id="mobile-embed-captcha-wait" class="hide">正在加载验证码......</p>
						</li>
						<input type="hidden" id="mobile_geetest_challenge" name="mobile_geetest_challenge" value="">
						<input type="hidden" id="mobile_geetest_validate" name="mobile_geetest_validate" value="">
						<input type="hidden" id="mobile_geetest_seccode" name="mobile_geetest_seccode" value=""> -->
						<!-- </form> -->
					</ul>
					<span style="font-size:13px" class="check-box fl"><input name="remPassWord" type="checkbox"
							disabled="disabled" checked="checked" class="check" value="11">我已阅读并接受</span>
					<a style="font-size:13px" class="link">《驴妈妈旅游网会员服务条款》</a><br>
					<a style="margin-left:11px;font-size:13px" class="link">《免责声明》</a>
					<a style="margin-left:11px;font-size:13px" class="link">《驴妈妈隐私保护声明》</a>
					<p class="lv-member">快捷注册:可使用手机快捷登录功能，通过动态密码完成快捷注册并登录。</p>
					<!-- 合作网站账号登录-->
					<div class="account-box">
						<h4><span>合作网站账号登录</span></h4>
						<div class="icon clearfix">
							<!-- <a onclick="union_login('/nsso/cooperation/tencentQQUnionLogin.do')" class="qq"
								title="QQ"></a>
							<a onclick="union_login('/nsso/cooperation/tencentWeiXinUnionLogin.do')" class="weix"
								title="微信"></a>
							<a onclick="union_login('/nsso/cooperation/sinaUnionLogin.do')" class="sina"
								title="新浪微博"></a>
							<a onclick="union_login('/nsso/cooperation/alipayUnionLogin.do')" class="alpay"
								title="支付宝"></a> -->
						</div>

					</div>
					<!-- 合作网站账号登录结束-->
				</div>
				<!-- 手机验证登录结束-->

			</div>

		</div>


		<!--新的广告页-->
		<script type="text/javascript" src="login_files/lvmama_pc_ad_https.js"></script>
		<script type="text/javascript" id="ads_2_2_79">
			channel_id = "2";
			place_id = "2";
			dest_id = "79";
			adsShow(channel_id, place_id, dest_id);
		</script>
	</div>
	<!-- 主体结束-->
	<script src="login_files/footer.js"></script><!-- 公共底部  -->
	<!-- footer\ -->
	<div class="wrap" style="clear: both;"><a class="public_ft" href="http://www.lvmama.com/public/user_security"
			target="_blank">
			<ul class="public_ft_list">
				<li><i class="ft_ioc1"></i><strong>价格保证</strong>同类产品，保证低价</li>
				<li><i class="ft_ioc2"></i><strong>退订保障</strong>因特殊情况影响出行，保证退订</li>
				<li><i class="ft_ioc3"></i><strong>救援保障</strong>旅途中遇意外情况，保证援助</li>
				<li><i class="ft_ioc4"></i><strong>7x24小时服务</strong>快速响应，全年无休</li>
			</ul>
		</a></div><!-- copyright\ -->
	<div class="lv-footer clearfix wrap" style="margin:0 auto;">
		<p class="footer-link"> <a href="http://www.lvmama.com/public/about_lvmama" rel="nofollow">关于我们</a> | <a
				href="http://www.lvmama.com/public/lianxi_us" rel="nofollow">联系我们</a> | <a
				href="http://www.lvmama.com/public/site_map">网站地图</a> | <a
				href="http://hotels.lvmama.com/brand/">酒店品牌</a> | <a href="http://hotels.lvmama.com/area/">酒店查询</a> | <a
				href="http://www.lvmama.com/public/help" rel="nofollow">帮助中心</a> | <a
				href="http://www.lvmama.com/public/links">友情链接</a> | <a href="http://www.lvmama.com/public/jobs"
				rel="nofollow">诚聘英才</a> | <a href="http://www.lvmama.com/public/zizhi_lvmama" rel="nofollow">旅游度假资质</a>
			| <a href="http://www.lvmama.com/userCenter/user/transItfeedBack.do" rel="nofollow">意见反馈</a> | <a
				rel="nofollow" href="http://www.lvmama.com/public/adwy">广告业务</a> </p>
		<p class="lv-copyright">Copyright © 2020 www.lvmama.com. 上海景域文化传播股份有限公司版权所有　<a
				href="http://pic.lvmama.com/img/businesslicense.jpg" target="_blank">营业执照</a>　<a
				href="http://www.beian.miit.gov.cn/" target="_blank"
				rel="nofollow">沪ICP备13011172号-3</a>　增值电信业务经营许可证编号：<a rel="nofollow"
				href="http://pic.lvmama.com/img/ICP.jpg" target="_blank">沪B2-20100030</a></p>
		<div class="lv-safety"> <a class="safety2" target="_blank" rel="nofollow" title="经营性网站备案信息"
				href="http://www.beian.miit.gov.cn/"></a> <a class="safety3" target="_blank" rel="nofollow"
				title="网络110报警服务" href="http://www.cyberpolice.cn/"></a> <a class="safety4" target="_blank"
				rel="nofollow" title="支付宝特约商家"></a> <a class="safety5" target="_blank" rel="nofollow" title="AAA级信用企业"
				href="http://www.itrust.org.cn/home/index/itrust_certifi/wm/1664396140.html"></a> <a class="safety6"
				target="_blank" rel="nofollow" title="上海工商"
				href="http://scjgj.sh.gov.cn/lz/licenseLink.do?method=licenceView&amp;entyId=20110930103539539"></a> <a
				class="safety7" target="_blank" rel="nofollow" title="可信网站"
				href="https://ss.knet.cn/verifyseal.dll?sn=2010101800100002662&amp;comefrom=trust&amp;trustKey=dn&amp;trustValue=www.lvmama.com"></a>
			<a class="safety8" target="_blank" rel="nofollow" title="诚信认证示范企业"
				href="https://credit.szfw.org/CX20160614015657160455.html" id="___szfw_logo___" hidefocus="false"></a>
			<a class="safety9" target="_blank" rel="nofollow" title="网络社会征信网" href="http://www.zx110.org/"></a> <a
				class="safety10" target="_blank" rel="nofollow" title="360网站安全检测" href="http://webscan.360.cn/"></a> <a
				class="safety11" target="_blank" rel="nofollow" title="网监安全"
				href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31011402005637"></a> <a
				class="safety13" target="_blank" rel="nofollow" title="举报中心" href="http://www.shjbzx.cn/"></a>
		</div>
	</div><!-- //footer -->
	<!-- 公共底部结束  -->
	<script src="login_files/index.js"></script>
	<script src="login_files/gt.js"></script>
	<script type="text/javascript" src="login_files/login_v3.js"></script>
	<script type="text/javascript" src="login_files/losc.js"></script>

	<script>
		var vm = new Vue({
			el: "#app",
			data: {
				userDto: {
					account: "",
					password: "",
					userType: "2",
					msgCode: "",
					pigCode: "",
				},
				pigCode: "http://localhost:8040/sendPigCode",
				phone: "",
				buttondisable: false,
				accountAlert: "",//"请填写手机号/邮箱/账号"
				phoneAlert: "",//"请填写手机号",
				passwordAlert: "",//"请填写密码",
				pigCodeAlert: "",//"请填写图形验证码",
				msgCodeAlert: "",//"请填写手机验证码",
				redirect: "index.html"

			},
			methods: {
				refreshCheckCode() {
					var num = Math.ceil(Math.random() * 10);//生成一个随机数（防止缓存）
					this.pigCode = "http://localhost:8040/sendPigCode?" + num;
				},
				sendCode() {
					this.buttondisable = true;
					setTimeout(() => {
						this.buttondisable = false   //点击一次时隔两秒后才能再次点击
					}, 5000)
					this.phone = this.userDto.account
					wfx.http.get("/sendCode?phone=" + this.phone).then(res => {
						console.log(1)
					})
				},
				login() {
					console.log(1)
					var flag = true;
					if (this.userDto.account == "") {
						this.accountAlert = "请填写手机号/邮箱/账号";
						flag = false;
						return flag;
					}
					if (this.userDto.password == "") {
						this.passwordAlert = "请填写密码";
						flag = false;
						return flag;
					}
					if (flag) {
						wfx.http.post("/login", this.userDto).then(res => {
							if (res.success) {
								localStorage.setItem("token",res.data)
								console.log(this.redirect)
								//跳转到重定向地址
								location.href = this.redirect;
							} else {
								alert(res.msg)
							}
						})
					}

				},
				codeLogin() {
					console.log(2)
					var flag = true;
					if (this.userDto.account == "") {
						this.accountAlert = "请填写手机号";
						console.log(3)
						flag = false;
						return flag;
					}
					if (this.userDto.pigCode == "") {
						this.pigCodeAlert = "请填写图形验证码";
						flag = false;
						console.log(4)
						return flag;
					}
					if (this.userDto.msgCode == "") {
						this.msgCodeAlert = "请填写手机验证码";
						flag = false;
						console.log(5)
						return flag;
					}
					if (flag) {
						wfx.http.post("/codeLogin", this.userDto).then(res => {
							console.log(6)
							if (res.success) {
								localStorage.setItem("token",res.data);
								
								//跳转到重定向地址
								location.href = this.redirect;
								

							} else {
								alert(res.msg)
							}
						})
					}

				},
			},
			created() {
					//获取登录成功的重定向地址
					var params = wfx.urlToObj(location.href);
					this.redirect = params.redirect;
				
			},

		})
	</script>
	<script type="text/javascript">
		document.domain = 'lvmama.com';
		function union_login(url) {
			window.open(url);
		}
		function agreement(url) {
			window.open(url);
		}
	</script>

	<script type="text/javascript">
		function refreshCheckCode(s) {
			var elt = document.getElementById(s);
			elt.src = elt.src + "?_=" + (new Date).getTime();
		}
		$(document).ready(function () {

		})

	</script>
	<!-- 接入同盾 -->
	<script type="text/javascript">
			(function () {
				_fmOpt = {
					partner: 'lvmama',
					appName: 'lvmama_web',
					token: 'cb146d17-6397-4294-8e1a-d04722401a19_16364107',
					fpHost: 'https://fp.fraudmetrix.cn',
					staticHost: 'static.fraudmetrix.cn',
					tcpHost: 'fp.fraudmetrix.cn',
					wsHost: 'fp.fraudmetrix.cn:9090'
				};
				var cimg = new Image(1, 1);
				cimg.onload = function () {
					_fmOpt.imgLoaded = true;
				};
				cimg.src = "https://fp.fraudmetrix.cn/fp/clear.png?partnerCode=lvmama&appName=lvmama_web&tokenId=" + _fmOpt.token;
				var fm = document.createElement('script'); fm.type = 'text/javascript'; fm.async = true;
				fm.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.fraudmetrix.cn/fm.js?ver=0.1&t=' + (new Date().getTime() / 3600000).toFixed(0);
				var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fm, s);
			})();
	</script>
	<script>
		cmCreatePageviewTag("登录页面", "LoginPage", null, null, "-_--_--_--_--_-其他页面");
	</script>

	<!--风控设备指纹采集-->
	<script type="text/javascript" src="login_files/frms-fingerprint.js"></script>

	<div class="complete_box" style="display:none">
		<ul class="complete_list"></ul>
	</div>
	<div class="complete_box_hotel hotelDestBox" style="display:none"></div>
	<div class="complete_box_hotel hotelKeywordBox" style="display:none"></div>
	<div class="complete_error_tips" style="display:none;"><span>找不到目的地：</span><span class="word"></span><i>×</i></div>
	<div id="right-bottom-tools"><a id="goTopBtn" target="_self" href="javascript:;" title="返回顶部"></a><a id="report"
			href="javascript:;" data-href="http://www.lvmama.com/userCenter/user/report.do" title="举报"></a><a
			href="http://www.lvmama.com/userCenter/user/transItfeedBack.do" target="_blank" id="Feedback"
			title="意见反馈"></a></div>
	<div style="visibility: hidden; position: absolute;" id="userdata_el"></div>
</body>

</html>